<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>head</title>
</head>
<body>
  <div class="head" th:fragment="top">
    <div class="head_in mtIn">
      <div class="drop_menu_btn"></div>
      <div class="mobile_menu_title"></div>
      <div class="head_left">
        <div class="menu_box">
          <i class="close_menu_box"></i>
          <div class="menu_box_in" id="drop_menu">
            <ul>
              <li><a th:href="@{/index.html}">辞典</a></li>
              <li><a href="/hakka/tutorial.html">教程</a></li>
              <li><a href="/hakka/collect.html">词条收集</a></li>
              <li><a href="/hakka/mandarin_to_hakka.html">客普翻译</a></li>
              <li><a href="/hellodata">HalaDatab</a></li>
              <li><a href="/hakka/languageRegion.html" target="_blank">语言地区</a></li>
              <!--									<li><a href="/hakka/voice.html">语音搜索</a></li>-->
              <li><a href="/hakka/hot.html">网址导航</a></li>
              <li><a href="/hakka/museum.html">客家博物馆</a></li>
              <!--									<li><a href="/hakka/voice.html">语音搜索</a></li>-->
              <!-- <li><a href="./hakka/ime/typewriting.htm">输入法</a></li> -->
              <!--li><a href="/hakka/bbs/" target="_blank">讨论</a></li-->

            </ul>
          </div>
        </div>
      </div>
      <div class="head_right" th:if="${session.user==null}">
        <ul class="head_right_list">
          <li><a href="/login.html">登录</a></li>
          <li class="register_btn"><a href="/register.html">注册</a></li>
        </ul>
      </div>
      <div class="head_right" th:if="${session.user!=null}">
        <ul class="head_right_list">
          <li th:text="${session.user.username}" style="color: red"></li>
          <li><a href="/logout">注销</a></li>
        </ul>
      </div>
    </div>
  </div>
</body>
</html>
